﻿<%@page import="me.chanjar.weixin.common.bean.WxJsapiSignature"%>
<%@page import="me.chanjar.weixin.cp.api.WxCpService"%>
<%@page import="itsm.isperp.framework.core.context.ContextHolder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
  String path = request.getContextPath();
			String basePath = ContextHolder.getWebServerName(request);
%>
<!doctype html>

<html>
<head>
<title><%=ContextHolder.getConfigByKey("companyIntro")%></title>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="format-detection" content="telephone=no">
<meta http-equiv="x-rim-auto-match" content="none">
<link rel="stylesheet" type="text/css"
	href="<%=path%>/css/mobile/mobile.css" />
<link rel="stylesheet" type="text/css"
	href="<%=path%>/css/mobile/weui.min.css" />

<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=path%>/js/widget/dateSelector.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/libs/forms/jquery.validate.js"></script>
<script type="text/javascript" src="<%=path%>/js/libs/jweixin-1.1.0.js"></script>
<script type="text/javascript">
	wx.hideOptionMenu();
	$.weui = {};
	$.weui.alert = function(options) {
		options = $.extend({
			title : '温馨提醒',
			text : '您当前操作无效！'
		}, options);
		var $alert = $('#weui_dialog_alert');
		$alert.find('.weui-dialog__title').text(options.title);
		$alert.find('.weui-dialog__bd').text(options.text);

		$alert.show().on('click', '.weui-dialog__btn', function() {
			$alert.off('click').hide();
		});

	};

	$.weui.loadingToast = function(obj) {
		$("#loadingToast").show();
		$(obj).hide();
		return true;
	}
</script>
</head>
<body style="overflow:auto;">
	<div class="container" id="container">
		<sitemesh:write property='body' />
	</div>
	<div id="loadingToast" style="display: none;">
		<div class="weui-mask_transparent"></div>
		<div class="weui-toast">
			<i class="weui-loading weui-icon_toast"></i>
			<p class="weui-toast__content">数据加载中</p>
		</div>
	</div>
	<div id="weui_dialog_alert" style="display: none">
		<div class="weui-mask"></div>
		<div id="weui_dialog_alert" class="weui-dialog">

			<div class="weui-dialog__hd">
				<strong class="weui-dialog__title">温馨提醒</strong>
			</div>
			<div class="weui-dialog__bd">您当前操作无效！</div>
			<div class="weui-dialog__ft">
				<a href="javascript:;"
					class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
			</div>
		</div>
	</div>
	<div class="weui-mask" id="search-weui-mask" style="display: none;">
		<div>
			<div class="page__bd">
				<!--<a href="javascript:;" class="weui-btn weui-btn_primary">点击展现searchBar</a>-->

				<div class="weui-search-bar" id="searchBar">

					<form class="weui-search-bar__form"
						action="<%=basePath%>api/wechat/knowledge/search">
						<div class="weui-search-bar__box">
							<i class="weui-icon-search"></i> <input type="search"
								class="weui-search-bar__input" id="searchInput" placeholder="搜索"
								required="" name="keyword" value="${keyword }"> <a
								href="javascript:" class="weui-icon-clear" id="searchClear"></a>
						</div>
						<label class="weui-search-bar__label" id="searchText"> <i
							class="weui-icon-search"></i> <span>搜索</span> </label>
					</form>
					<a href="javascript:" class="weui-search-bar__cancel-btn"
						id="searchOk">确定</a>
				</div>
				<div class="weui-cells searchbar-result" id="searchResult"
					style="display:none;margin-top:0px;height:800px;overflow:auto;">
					<!-- <div class="weui-cell weui-cell_access">
						<div class="weui-cell__bd weui-cell_primary">
							<p>实时搜索文本</p>
						</div>


					</div>
					<div class="weui-cell weui-cell_access">
						<div class="weui-cell__bd weui-cell_primary">
							<p>实时搜索文本</p>
						</div>
					</div> -->
				</div>
			</div>

		</div>
	</div>
</body>
</html>